package es.ucm.is.www.GUI.server;

import java.awt.Toolkit;
import java.io.File;

import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

import es.ucm.is.www.GUI.client.buildings.Prueba;

public class ServletPrueba extends RemoteServiceServlet implements Prueba{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public String conectar() {
		String s = this.getServletContext().getRealPath(getServletName());
		String s1 = this.getServletContext().getServerInfo();
		String s2 = this.getServletName();
		//java.awt.Image pepe;
		//pepe = Toolkit.getDefaultToolkit().getImage("hola_bn_1.gif");
		
		//Image img = new Image("hola_bn_1.gif");
		return s;
		// TODO Auto-generated method stub
		
	}

}
